package com.hywood.app.live.entity;

public class PageResult<T> {
    private Long totalSize;
    private T data;

    public PageResult(Long totalSize, T data) {
        this.totalSize = totalSize;
        this.data = data;
    }

    public Long getTotalSize() {
        return totalSize;
    }

    public void setTotalSize(Long totalSize) {
        this.totalSize = totalSize;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
